package com.tedu.interceptor.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/weibo")
public class WeiboController {

    @RequestMapping("/insert")
    public String insert(){
        System.out.println("WeiboController的insert()开始执行");
        return "微博添加成功";
    }
}
